//
//  ViewController.swift
//  PLDownload
//
//  Created by bin hu on 2025/7/7.
//

import UIKit

/**
 Alamofire: 基础网络请求
 SwiftyJSON: M3u8解析
 CryptoSwift: 媒体解密
 GRDB: 人物状态持久化
 */

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        
        
        /// 后台下载管理
        let config = URLSessionConfiguration.background(
            withIdentifier: "com.app.download.background"
        )
        config.isDiscretionary = true // 系统优化下载时机
        config.sessionSendsLaunchEvents = true
    }


}

